ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Viewer.Common Assembly / GrapeCity.Viewer.Common.Model Namespace / ActiveModelListenExtensions Class / Listen Method / Listen<TModel>(TModel,Action<String>) Method

In This Topic
    Listen<TModel>(TModel,Action<String>) Method
    In This Topic
    Listens to any property changes
    Syntax
    'Declaration
     
    Public Overloads Shared Function Listen(Of TModel As INotifyPropertyChanged)( _
       ByVal model As TModel, _
       ByVal action As Action(Of String) _
    ) As IDisposable
    public static IDisposable Listen<TModel>( 
       TModel model,
       Action<string> action
    )
    where TModel: INotifyPropertyChanged

    Parameters

    model
    action

    Type Parameters

    TModel
    See Also